﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.Generic;

namespace Bango.WindowsPhone8.SDK
{
	public class BangoLoggingLevel
	{
		[System.Flags]
		public enum BangoLoggingLevelEnum :int
		{
			ALL = 0,
			LEVEL_1 = 1,
			LEVEL_2 = 2,
			LEVEL_3 = 4,
			LEVEL_4 = 8,
			LEVEL_5 = 16,
			LEVEL_6 = 32,
			LEVEL_7 = 64,
			LEVEL_8 = 128,
			LEVEL_9 = 256,
			LEVEL_10 = 512
		}

		public static int TOTAL_LEVELS = 10;
		private static List<int> valuesCached = null;

		public static List<int> values()
		{
			if (valuesCached == null)
				{
					valuesCached = new List<int>();
					valuesCached.Add((int)BangoLoggingLevelEnum.ALL);
					valuesCached.Add((int)BangoLoggingLevelEnum.LEVEL_1);
					valuesCached.Add((int)BangoLoggingLevelEnum.LEVEL_2);
					valuesCached.Add((int)BangoLoggingLevelEnum.LEVEL_3);
					valuesCached.Add((int)BangoLoggingLevelEnum.LEVEL_4);
					valuesCached.Add((int)BangoLoggingLevelEnum.LEVEL_5);
					valuesCached.Add((int)BangoLoggingLevelEnum.LEVEL_6);
					valuesCached.Add((int)BangoLoggingLevelEnum.LEVEL_7);
					valuesCached.Add((int)BangoLoggingLevelEnum.LEVEL_8);
					valuesCached.Add((int)BangoLoggingLevelEnum.LEVEL_9);
					valuesCached.Add((int)BangoLoggingLevelEnum.LEVEL_10);
				}

			return valuesCached;
		}
		
	}
}
